<script setup>
import { RouterView } from 'vue-router';
import {
  NConfigProvider
} from "naive-ui";
import { themeOverrides, useTheme } from "./theme/themeManager";
import { zhCN, dateZhCN, darkTheme } from 'naive-ui'
const { getCurrentTheme, setTheme } = useTheme()

setTheme("dark")
</script>

<template>
  <n-config-provider :theme-overrides="themeOverrides" :theme="darkTheme" :locale="zhCN" :date-locale="dateZhCN">

    <RouterView />
  </n-config-provider>
</template>

<style scoped>
.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}

.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}

.logo.vue:hover {
  filter: drop-shadow(0 0 2em #42b883aa);
}
</style>
